package cn.tedu.elo.petForum.mapper;

import cn.tedu.elo.petForum.pojo.dto.PostQuery;
import cn.tedu.elo.petForum.pojo.entity.Post;
import cn.tedu.elo.petForum.pojo.vo.PostVo;

import java.util.List;

public interface PostMapper {
    void insert(Post post);

    void update(Post post);

    List<PostVo> selectPost(PostQuery postQuery);

    void deleteById(Long id);
}
